﻿@model zichan.Entity.CompanyClass
@{
    ViewBag.Title = "编辑公司分类";
}

@section Pagetitle{
    @AdminCommon.PageTitle("公司分类管理", "编辑")
}


@using (Html.BeginForm("Edit", "CompanyClass", FormMethod.Post, new { @class = "form-horizontal" }))
{
    <div class="form-body">
        @Html.AntiForgeryToken()
        <div class="form-group">
            <label class="col-md-3 control-label xh">公司名称:</label>
            <div class="col-md-9">
                @Html.TextBoxFor(o => o.Name, new { @class = "form-control input-large" })
                <span class="help-block">
                    @Html.ValidationMessageFor(o => o.Name)
                </span>
            </div>
        </div>

        <div class="form-group">
            <label class="col-md-3 control-label xh">序号:</label>
            <div class="col-md-9">
                @Html.TextBoxFor(o => o.Sort, new { @class = "form-control input-small" })

                <span class="help-block">
                    @Html.ValidationMessageFor(o => o.Sort)
                </span>
            </div>
        </div>

        <div class="form-actions">
            <div class="row">
                <div class="col-md-offset-3 col-md-9">
                    <button type="submit" class="btn green">提交</button>
                    <a href="/CompanyClass/Index" class="btn default">返回</a>
                </div>
            </div>
        </div>
    </div>
}


@section footer{
    @Scripts.Render("~/bundles/jqueryval")
}

